package com.gem.service;


import com.gem.domain.Teacher;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Bravea❤ ·勇
 * Description: 授课人信息serv接口
 * create
 * Modified By:
 */
public interface TeacherService {

    //添加授课人
    boolean addTeacher(Teacher t);

    //查找单个授课人
    Teacher selectTeacherById(String tId);

    //模糊查询老师(Apolar_sh)
    List<Teacher> findTeacherByName(String ccrcCourseTeacher);

    //删除授课人
    boolean deleteTeacherById(String[] tId);

    //查询所有授课人信息
    List<Teacher> selectAllTeacher();

    //修改授课人
    boolean modifyTeacherById(Teacher t);

    //全部授课人分页
    PageInfo<Teacher> selectTeacherByPage(int currentPage, int pageSize);

    //查询授课人分页
    PageInfo<Teacher> searchTeacherByPage(int currentPage, int pageSize, String tName, String tMajor);

    boolean addTeacherList(List<Teacher> list);

    //按名字查询ID
    Teacher selectByName(String tName);
}
